package com.zj.android.fragment

import android.os.Bundle
import androidx.navigation.findNavController
import com.zj.android.BR
import com.zj.android.R
import com.zj.android.databinding.FragmentOtherBinding
import com.zj.android.model.OtherViewModel
import com.zj.common.fragment.BaseFragment

/**
 *
 */
class OtherFragment : BaseFragment<OtherViewModel, FragmentOtherBinding>() {
    override fun layoutId(): Int {
        return R.layout.fragment_other
    }

    override fun initData(savedInstanceState: Bundle?) {

        binding.apply {
            titleToolBar.setLeftOnClickListener {
                // 返回上一个页面
                it.findNavController().popBackStack()
            }
        }

    }

    override fun variableId(): Int {
        return BR.other
    }

}